<template>
  <div class="shibai">
    <div class="t">
      <van-nav-bar
        title="购买成功"
        @click-left="onClickLeft"
      />
    </div>
    <div class="bt">
      <img src="http://www.sunlulu.club/img/cg.svg" alt="">
      <p class="p1">购买成功</p>
      <p class="p2">1杯已放入您的咖啡钱包</p>
    </div>
    <div class="sb" @click="chakan">
      <p>请返回订单页查看</p>
    </div>
  </div>
</template>

<script>
export default {
 methods: {
    onClickLeft() {

    },
    chakan(){
      this.$router.push({name:'dingDan'})
    }
  }
}
</script>

<style scoped>
.shibai{
  width: 100%;
}
.bt{
  width: 100%;
  height: 49%;
  overflow: hidden;
}
.bt img{
  width: 90px;
  display: block;
  margin: 0 auto;
  margin-top: 18%;
}
.bt p{
  text-align: center;
  margin: 30px 0;
}
.bt .p1{
  font-size: 23px;
}
.sb{
  width: 155px;
  height: 50px;
  background: skyblue;
  border-radius: 10px;
  margin: 0 auto;
}
.sb p{
  color: white;
  text-align: center;
  line-height:50px;
}
</style>
